using System;
using System.Collections.Generic;
using System.Text;

namespace DDW
{
	public class PostDecrementExpression : PrimaryExpression
	{
		public PostDecrementExpression()
		{
		}
		public PostDecrementExpression(ExpressionNode expression)
		{
			this.expression = expression;
		}

		private ExpressionNode expression;
		public ExpressionNode Expression
		{
			get { return expression; }
			set { expression = value; }
		}

		public override void ToSource(StringBuilder sb)
		{
			expression.ToSource(sb);
			sb.Append("--");
		}
	}
}
